//
//  UIViewController+IGNavigationItem.h
//  jingdongfang
//
//  Created by BOE on 2017/8/15.
//  Copyright © 2017年 kevinLY. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIViewController (IGNavigationItem)

// 添加左侧返回按钮
- (UIButton *)ig_setupLeftBackBarButtonItem;
// 返回按钮点击事件处理
- (void)ig_leftBackButtonPressed:(id)sender;

// 添加左侧按钮
- (UIButton *)ig_setupLeftBarButtonItemWithTitle:(NSString *)title
                                           image:(UIImage *)image
                                highLightedImage:(UIImage *)highLightedImage;
// 左侧按钮事件处理，子类实现
- (void)ig_leftButtonPressed:(id)sender;

// 添加右侧按钮
- (UIButton *)ig_setupRightButtonItemWithTitle:(NSString *)title
                                         image:(UIImage *)image
                              highLightedImage:(UIImage *)highLightedImage;
// 右侧按钮事件处理，子类实现
- (void)ig_rightButtonPressed:(id)sender;

@end
